<template>
    <view class="main">
        <rich-text :nodes="answer"></rich-text>
    </view>
</template>

<script>
import cardlist from '@/ymq_canyino2o/dist/cardlist/index';
import gettel from '@/ymq_canyino2o/dist/gettel/index';
var app = getApp();
export default {
    components: {
        cardlist,
        gettel
    },
    data() {
        return {
            answer: ''
        };
    },
    onLoad: function (n) {
        app.globalData.setNavigationBarColor(this);
        uni.setNavigationBarTitle({
            title: n.title
        });
        console.log(uni.getStorageSync('answer'));
        this.setData({
            answer: uni.getStorageSync('answer')
        });
    },
    onReady: function () {},
    onShow: function () {},
    onHide: function () {},
    onUnload: function () {},
    onPullDownRefresh: function () {},
    onReachBottom: function () {},
    methods: {
        tel: function () {
            uni.makePhoneCall({
                phoneNumber: this.tel
            });
        }
    }
};
</script>
<style>
@import './kfzx.css';
</style>
